package com.ncmem.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller
public class Up7Ui {
    @Autowired
    private HttpServletRequest req;

    @Autowired
    private HttpServletResponse res;

    @RequestMapping("up7/index")
    public String index(Model model)
    {
        return "up7/index";
    }

    /**
     * 单面板示例
     * @param model
     * @return
     */
    @RequestMapping("up7/panel")
    public String panel(Model model) {return "up7/panel";}
    @RequestMapping("up7/safe/sm4")
    public String panel_sm4(Model model) {return "up7/safe/sm4";}
    @RequestMapping("up7/safe/sm4-md5")
    public String panel_sm4_md5(Model model) {return "up7/safe/sm4-md5";}
    @RequestMapping("up7/safe/sm4-gzip")
    public String panel_sm4_gzip(Model model) {return "up7/safe/sm4-gzip";}
    @RequestMapping("up7/safe/aes")
    public String panel_aes(Model model) {return "up7/safe/aes";}
    @RequestMapping("up7/safe/aes-md5")
    public String panel_aes_md5(Model model) {return "up7/safe/aes-md5";}
    @RequestMapping("up7/safe/aes-gzip")
    public String panel_aes_gzip(Model model) {return "up7/safe/aes-gzip";}
    @RequestMapping("up7/safe/gzip")
    public String panel_gzip(Model model) {return "up7/safe/gzip";}
    @RequestMapping("up7/safe/zip")
    public String panel_zip(Model model) {return "up7/safe/zip";}
    @RequestMapping("up7/layer")
    public String panel_layer(Model model) {return "up7/layer";}
    @RequestMapping("up7/cloud/bos")
    public String panel_bos(Model model) {return "up7/cloud/bos";}
    @RequestMapping("up7/cloud/minio")
    public String panel_minio(Model model) {return "up7/cloud/minio";}
    @RequestMapping("up7/cloud/obs")
    public String panel_obs(Model model) {return "up7/cloud/obs";}
    @RequestMapping("up7/cloud/oss")
    public String panel_oss(Model model) {return "up7/cloud/oss";}
    @RequestMapping("up7/cloud/s3")
    public String panel_s3(Model model) {return "up7/cloud/s3";}
    @RequestMapping("up7/nosql/panel")
    public String panel_nosql(Model model) {return "up7/nosql/panel";}
    @RequestMapping("up7/nosql/layer")
    public String layer_nosql(Model model) {return "up7/nosql/layer";}
    @RequestMapping("up7/single")
    public String single(Model model)
    {
        return "up7/single";
    }
    @RequestMapping("up7/filemgr")
    public String filemgr(Model model)
    {
        return "up7/filemgr";
    }
    @RequestMapping("up7/vue")
    public String panel_vue(Model model) {
        return "up7/vue";
    }
    @RequestMapping("up7/upload")
    public String upload() {
        return "up7/test";
    }
}
